home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cato / Xm / XmTextPosToXY.z / XmTextPosToXY
Encoding:
Text File  |  2002-10-03  |  3.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX))))         UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY - A Text function that accesses the x and y
  10.           position of a character position
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////TTTTeeeexxxxtttt....hhhh>>>>
  14.  
  15.           BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY ((((_w_i_d_g_e_t, _p_o_s_i_t_i_o_n, _x, _y))))
  16.                WWWWiiiiddddggggeeeetttt    _w_i_d_g_e_t;;;;
  17.                XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn_p_o_s_i_t_i_o_n;;;;
  18.                PPPPoooossssiiiittttiiiioooonnnn  *_x;;;;
  19.                PPPPoooossssiiiittttiiiioooonnnn  *_y;;;;
  20.  
  21.  
  22.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  23.           This page documents version 1.2 of the Motif library.
  24.  
  25.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.           XXXXmmmmTTTTeeeexxxxttttPPPPoooossssTTTTooooXXXXYYYY accesses the x and y position, relative to the
  27.           upper left corner of the Text widget, of a given character
  28.           position in the text buffer.
  29.  
  30.           _w_i_d_g_e_t Specifies the Text widget ID
  31.  
  32.           _p_o_s_i_t_i_o_n
  33.                  Specifies the character position in the text for
  34.                  which the x and y position is accessed.  This is an
  35.                  integer number of characters from the beginning of
  36.                  the buffer.  The first character position is 0.
  37.  
  38.           _x      Specifies the pointer in which the x position,
  39.                  relative to the upper left corner of the widget, is
  40.                  returned.  This value is meaningful only if the
  41.                  function returns True.
  42.  
  43.           _y      Specifies the pointer in which the y position,
  44.                  relative to the upper left corner of the widget, is
  45.                  returned.  This value is meaningful only if the
  46.                  function returns True.
  47.  
  48.  
  49.           For a complete definition of Text and its associated
  50.           resources, see XXXXmmmmTTTTeeeexxxxtttt((((3333XXXX)))).
  51.  
  52.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  53.           This function returns True if the character position is
  54.           displayed in the Text widget; otherwise, it returns False,
  55.           and no _x or _y value is returned.
  56.  
  57.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  58.           XXXXmmmmTTTTeeeexxxxtttt((((3333XXXX)))).
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.